FROM redis:7.2.5

# 标签
LABEL author="baihongru"

# 使用自定义配置文件启动
# 参考 https://hub.docker.com/_/redis
COPY ./conf/redis.conf /usr/local/etc/redis/redis.conf

CMD [ "redis-server", "/usr/local/etc/redis/redis.conf" ]